paid-thru date

N4 Provides 2 Web Services for paid-thru date.

Both APIs take the same input parameters:

Request parameters are:

API WSDL

<xsd:element name="updatePaidThruDay">

<xsd:complexType>

<xsd:sequence>  

  <xsd:element name="scopeCoordinateIdsWsType"type="types:ScopeCoordinateIdsWsType"/>  

  <xsd:element minOccurs="1"name="eqId"type="xsd:string"/>  

  <xsd:element minOccurs="1"name="chargeFor"type="xsd:string"/>  

  <xsd:element minOccurs="1"name="paidThruDay"type="xsd:string"/>  

  <xsd:element minOccurs="1"name="extractGkey"type="xsd:long"/>  

</xsd:sequence>  

</xsd:complexType>  

</xsd:element>

<xsd:element name="updatePaidThruDayResponse">

<xsd:complexType>

<xsd:sequence>  

  <xsd:element name="updatePaidThruDayResponse"type="types:UpdatePaidThruDayResponseWsType"/>  

</xsd:sequence>  

</xsd:complexType>  

</xsd:element>

<!--  Propose anewpaid thru dayforSTORAGE or REEFER POWER. ptdDate DATE_TIME_FORMAT ="yyyy-MM-dd HH:mm:ss"  --> 

 

Update paid-thru date

In the case where a container has two unpaid storage periods:

The paid-thru date will apply to the storage period of the correct storage time span. In the case of overlapping storage dates (out and in in the same day), the paid-thru date refers to the earlier storage span.

 

Propose paid-thru date

The API will return:

API WSDL

<xsd:element name="proposePaidThruDay">

<xsd:complexType>

<xsd:sequence>  

  <xsd:element name="scopeCoordinateIdsWsType"type="types:ScopeCoordinateIdsWsType"/>  

  <xsd:element minOccurs="1"name="eqId"type="xsd:string"/>  

  <xsd:element minOccurs="1"name="chargeFor"type="xsd:string"/>  

  <xsd:element minOccurs="1"name="paidThruDay"type="xsd:date"/>  

  <xsd:element minOccurs="1"name="extractGkey"type="xsd:long"/>  

</xsd:sequence>  

</xsd:complexType>  

</xsd:element>

<xsd:element name="proposePaidThruDayResponse">

<xsd:complexType>

<xsd:sequence>  

  <xsd:element name="proposePaidThruDayResponse"type="types:ProposePaidThruDayResponseWsType"/>

</xsd:sequence>

</xsd:complexType>

</xsd:element>